<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>translate 空间</title>
		<style type="text/css">
			body{
				perspective: 1000px;				/*让里面的子元素产生透视效果*/
			}
			div{
				width: 600px;
				height: 300px;
				border: 1px solid #000000;
				transition: all 1s;
			}
			div:hover{
				transform: translate3d(20px,60px,100px) rotateY(90deg);
				/*rotateZ相当于rotate的效果，rotateX相当于对于x翻转，需要设置perspective透视效果，*/
			}
		</style>
	</head>
	<body>
		<div>
			
		</div>
	</body>
</html>
